package cn.bandeqing.product.resp;

import cn.bandeqing.attachment.resp.AttachmentDetail;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class ProductDetailResp implements Serializable {

    private Long productId;

    private String productUuid;

    private String productName;

    /**
     * 0=注册 1=上架 2=下架
     */
    private Integer productStatus;

    /**
     * 产品类别ID
     */
    private Integer productTypeId;

    private Boolean productMain;

    // 所有规格中的最低价
    private Double lowPrice;

    private String subTitle;

    private String productMainImg;

    @Schema(description = "销量")
    private Integer productSalesVolume;

    @Schema(description = "评价数量")
    private Integer productEvaluateNum;;

    private List<AttachmentDetail> bannerList;

    private List<AttachmentDetail> detailList;

    private List<SpecificationDetail> specificationList;

    private List<ProductEvaluateDetail> evaluateList;

}
